package com.cddx.logistics.service;

import com.cddx.logistics.domain.dto.SysAnnouncementQueryDTO;
import com.cddx.logistics.domain.pojo.SysAnnouncement;
import com.cddx.logistics.domain.vo.SysAnnouncementVO;
import com.cddx.logistics.util.model.Result;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysAnnouncementService {
    PageInfo<SysAnnouncementVO> queryPage(SysAnnouncementQueryDTO sysAnnouncementQueryDTO);

    void markAllAsRead();

    Result delete(Integer id);


    void deleteAll(List<Integer> ids);

    boolean addannounce(SysAnnouncement announcement, Object o);

    boolean insertSendRecord(Integer userId, Integer anntId, Integer readFlag);

    List<Integer> getAllUserIds();


}
